/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cnam.mobileshopping.ejb.user;

import java.util.List;
import javax.ejb.Local;
import org.cnam.mobileShopping.entity.User;

/**
 *
 * @author Administrateur
 */
@Local
public interface UserLocal {
    public User getUserById(int userId);

    public User getUserByLogin(String login);

    public User addUser(String pseudo, String login, String password) ;
    
    public User updateUser(int userId, String login) ;
    
    public User getUserByLoginAndPassword(String login, String password) ;
    
    public List<User> getUsers();
}
